package com.ruoyi.employee.controller;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.employee.service.TbCardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *  name : 程丛林
 *  desc : 身份证管理
 *  */
@RestController
@RequestMapping("/card")
public class CardController {
    @Autowired
    private TbCardService tbCardService;
    @GetMapping("findallcard")
    public AjaxResult findallcard() {
        return AjaxResult.success(tbCardService.list());
    }
}